package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商家团购活动对象 shangjiatuangou
 * 
 * @author ruoyi
 * @date 2024-08-14
 */
public class Shangjiatuangou extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    private Shangpin shangpin;
    private Dianpu dianpu;

    public Shangpin getShangpin() {
        return shangpin;
    }

    public void setShangpin(Shangpin shangpin) {
        this.shangpin = shangpin;
    }

    public Dianpu getDianpu() {
        return dianpu;
    }

    public void setDianpu(Dianpu dianpu) {
        this.dianpu = dianpu;
    }

    public Long getSpId() {
        return spId;
    }

    public void setSjtgZt(Long sjtgZt) {
        this.sjtgZt = sjtgZt;
    }

    /** 商家团购id */
    private Long sjtgId;

    /** 商家ID */
    @Excel(name = "商家ID")
    private Long dpId;

    /** 团购商品ID */
    @Excel(name = "团购商品ID")
    private Long spId;



    /** 审核状态 */
    @Excel(name = "审核状态")
    private Long sjtgZt;

    public void setSjtgId(Long sjtgId) 
    {
        this.sjtgId = sjtgId;
    }

    public Long getSjtgId() 
    {
        return sjtgId;
    }
    public void setDpId(Long dpId) 
    {
        this.dpId = dpId;
    }

    public Long getDpId() 
    {
        return dpId;
    }
    public void setSpId(Long spId) 
    {
        this.spId = spId;
    }


    public Long getSjtgZt() 
    {
        return sjtgZt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sjtgId", getSjtgId())
            .append("dpId", getDpId())
            .append("sjtgZt", getSjtgZt())
            .toString();
    }
}
